package com.runfast.waimai.service;

import com.runfast.common.service.IService;
import com.runfast.waimai.dao.model.RunfastWithdraw;
import com.runfast.waimai.dao.model.RunfastWithdrawExample;

import java.util.Date;
import java.util.List;

public interface RunfastWithdrawService extends IService<RunfastWithdraw, Integer, RunfastWithdrawExample> {
    List<RunfastWithdraw> findMoneyhome(List agentId,String name, Integer state, Integer status, String usermobile, Date createtime1, Date createtime2, Integer page, Integer pagesize);

    List<RunfastWithdraw> findBusinessMoneyhome(String name,List agentId, Date createtime1, Date createtime2,Integer page,Integer pagesize);

    RunfastWithdraw findMobileAndTime(String usermobile, Date createtime);

    RunfastWithdraw findByid(Integer id);

    Integer findMoneyhomecount(List agentId,String name, Integer state, Integer status, String usermobile, Date createtime1, Date createtime2,Integer page,Integer pagesize);

    Integer findBusinessMoneyhomecount(String name,List agentId,Date createtime1, Date createtime2,Integer page,Integer pagesize);
}